import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import login from '@/pages/login'
import questionList from '@/pages/questionList'
import mine from '@/pages/mine'
import tab3 from '@/pages/tab3'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'login',
      component: login
    }, {
      path: '/questionList',
      name: 'questionList',
      component: questionList
    }, {
      path: '/mine',
      name: 'mine',
      component: mine
    }, {
      path: '/tab3',
      name: 'tab3',
      component: tab3
    }, {
      path: '/hello',
      name: 'HelloWorld',
      component: HelloWorld
    }
  ]
})
